package cn.hpu.mobile_bank.mapper;

import cn.hpu.mobile_bank.domain.Recipient;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
* @author DELL
* @description 针对表【recipient】的数据库操作Mapper
* @createDate 2024-06-19 15:14:37
* @Entity /domain.domain.Recipient
*/
public interface RecipientMapper extends BaseMapper<Recipient> {

    List<Recipient> selectByTelephone(String telephone);

    List<Recipient> selectByAccountAndRecepName(String recepAccount, String recepName);


    Recipient selectByThree(String recepAccount, String recepName, String telephone);

    void addRecipient(String recepAccount, String recepName, String telephone);

    void deleteRecipient(String recepAccount, String recepName, String telephone);
}




